package com.daxia.bumall.common;

public enum DesignType {
	Images(1, "图片方案"),
	PDF(2, "PDF方案"),
	Community(3, "楼盘方案");

	private int value;
	private String remark;

	private DesignType(int value, String remark) {
		this.value = value;
		this.remark = remark;
	}

	public int getValue() {
		return value;
	}

	public String getRemark() {
		return remark;
	}

	public static DesignType getByValue(int value) {
		for (DesignType o : DesignType.values()) {
			if (o.getValue() == value) {
				return o;
			}
		}
		return null;
	}

}
